//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.farm.doc.server;

import com.farm.core.auth.domain.LoginUser;
import com.farm.doc.domain.Docfiletext;
import com.farm.doc.domain.FarmDocfile;
import java.io.File;
import java.io.InputStream;
import java.util.List;

public interface FarmFileManagerInter {
    String saveFile(File var1, FarmFileManagerInter.FILE_TYPE var2, String var3, LoginUser var4);

    String saveFile(InputStream var1, String var2, String var3, FarmFileManagerInter.FILE_TYPE var4, LoginUser var5);

    String getFileURL(String var1);

    FarmDocfile getFile(String var1);

    Docfiletext getFiletext(String var1);

    File getNoneImg();

    void submitFile(String var1, String var2);

    void cancelFile(String var1);

    void updateFileState(String var1, String var2, LoginUser var3);

    void delFile(String var1, LoginUser var2);

    FarmDocfile openFile(String var1, String var2, LoginUser var3);

    void addFileForDoc(String var1, String var2, LoginUser var3, String var4);

    void delFileForDoc(String var1, String var2, LoginUser var3);

    void delFileForDoc(String var1, LoginUser var2);

    List<FarmDocfile> getAllFileForDoc(String var1);

    List<FarmDocfile> getAllTypeFileForDoc(String var1, String var2);

    boolean containFileByDoc(String var1, String var2);

    /** @deprecated */
    @Deprecated
    void delAllFileForDoc(String var1, String var2, LoginUser var3);

    void updateFileText(String var1, String var2, String var3);

    public static enum FILE_APPLICATION_TYPE {
        KNOW_FILE("知识附件"),
        KNOW_IMG("知识内容图"),
        RESOURCE_FILE("资源附件"),
        RESOURCE_IMG("资源内容图"),
        KNOW_OR_RESOURCE_FILE("知识或资源附件"),
        GROUP_IMG("小组头像"),
        SPECIAL_IMG("专题图片"),
        WEBURL_IMG("推荐服务图标"),
        FQA_IMG("问答内容图"),
        FQA_FILE("问答图片附件"),
        FQA_ANSWER_FILE("回答图片附件"),
        FQA_CLOSELY_FILE("追问图片附件"),
        RESUME_PHOTO("个人档案照片"),
        RESUME_FILE("个人档案附件"),
        USER_IMG("用户头像");

        private String value;

        public String getValue() {
            return this.value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        private FILE_APPLICATION_TYPE(String value) {
            this.value = value;
        }
    }

    public static enum FILE_TYPE {
        RESOURCE_IMG("1"),
        RESOURCE_FILE("2"),
        RESOURCE_ZIP("3"),
        OHTER("0"),
        WEB_FILE("4");

        private String value;

        public String getValue() {
            return this.value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        private FILE_TYPE(String value) {
            this.value = value;
        }
    }
}
